import axios from "axios";

const processRequest = async (requestBody, token) => {
    try {
        const response = await axios.post('/api/test/1', {
            data: requestBody,
            headers: {
                'Authorization': `Bearer ${token}`
            }
        });
        console.log(response.data);
    } catch (error) {
        console.error(error);
    }
};
